package com.app.service.admin;

import com.app.SpringAnnotationDef;
import com.app.dao.BaseDao;
import com.app.dao.admin.AdminDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created with IntelliJ IDEA.
 * User: cnprinces
 * Date: 13-1-19
 * Time: 上午9:41
 * To change this template use File | Settings | File Templates.
 */

@Service(SpringAnnotationDef.ADMIN_SERVICE)
public class AdminService {
    @Resource(name= SpringAnnotationDef.ADMIN_DAO)
    private AdminDao dao;


    public AdminDao getDao() {
        return dao;
    }

    public void setDao(AdminDao dao) {
        this.dao = dao;
    }
}
